package org.example.entity.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.entity.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_bank_rate")
public class BankRateEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 银行ID
     */
    private Long bankId;


    /**
     * 存库日期
     */
    private String saveDate;

    /**
     * 存款利率
     */
    private BigDecimal saveRate;

    /**
     * 存款条件
     */
    private String saveCondition;

    /**
     * 存款备注
     */
    private String saveRemark;

    /**
     * 排序
     */
    private Integer sequence;

    /**
     * 是否热门推荐
     */
    private Integer isHot;


}

